@import "constant";
@import "antdv";

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

ul {
    margin-bottom: 0;
}

li {
    list-style-type: none;
}

html {
    $remFontSize: $rem-font-size * 1px;
    font-size: $remFontSize;

    @media all and (max-width: $mobile-design-draft-width) {
        font-size: calc(($remFontSize * (100vw / $mobile-design-draft-width)));
    }
}

body {
    // background-color: #fff;
    background-color: #FCFFF4;
    @apply bg-fill-4;
    overscroll-behavior-y: none;
}

@font-face {
    font-family: 'HarmonyOS';
    src: url(../font/HarmonyOS_Sans_SC_Regular.ttf);
}

@font-face {
    font-family: 'Gats-Regular';
    src: url(../font/goetz.otf);
}

@font-face {
    font-family: 'Alimama ShuHeiTi';
    src: url(../font/AlimamaShuHeiTi.otf);
}

@font-face {
    font-family: 'PoppinsLatin-Light';
    src: url(../font/PoppinsLatin-Light.otf);
}

@font-face {
    font-family: 'AGFuturaBold';
    src: url(../font/AG_Futura-Bold.ttf);
}

@font-face {
    font-family: 'Mont';
    src: url(../font/Mont-SemiBold.ttf);
}

@font-face {
    font-family: 'Mont700';
    src: url(../font/Mont-SemiBold.ttf);
}

@font-face {
    font-family: 'Mont600';
    src: url(../font/Mont-Regular.ttf);
}

@font-face {
    font-family: 'Mont400';
    src: url(../font/Mont-Regular.ttf);
}

@font-face {
    font-family: 'Mont800';
    src: url(../font/Mont-Bold.ttf);
}

@font-face {
    font-family: 'Mont900';
    src: url(../font/Mont-DEMOHeavy.ttf);
}

@font-face {
    font-family: 'Mont500';
    src: url(../font/Mont-Book.ttf);
}

@font-face {
    font-family: 'Mont';
    src: url(../font/Mont-Regular.ttf);
    font-weight: 400;
}

@font-face {
    font-family: 'Mont';
    src: url(../font/Mont-Book.ttf);
    font-weight: 500;
}

@font-face {
    font-family: 'Mont';
    src: url(../font/Mont-Regular.ttf);
    font-weight: 600;
}

@font-face {
    font-family: 'Mont';
    src: url(../font/Mont-SemiBold.ttf);
    font-weight: 700;
}

@font-face {
    font-family: 'Mont';
    src: url(../font/Mont-Bold.ttf);
    font-weight: 800;

}

@font-face {
    font-family: 'Mont';
    src: url(../font/Mont-DEMOHeavy.ttf);
    font-weight: 900;
}


// DIN
/*@font-face {
    font-family: 'Bold';
    src: url(../font/DINPro-Bold.otf);
}

@font-face {
    font-family: 'DIN';
    src: url(../font/DINPro-Medium.otf);
}

@font-face {
    font-family: 'Regular';
    src: url(../font/DINPro-Regular.otf);
}*/

.App {
    background-color: #000000;
    min-height: 100vh;
}

.fade-enter-active,
.fade-leave-active {
    transition: 0.5s linear;
}

.fade-enter-from,
.fade-leave-to {
    opacity: 0;
}

.flex {
    display: flex;
}

.flex1 {
    flex: 1;
}

.flex-column {
    flex-direction: column;
}

.flex-warp {
    flex-wrap: wrap
}

.flex-align-center {
    align-items: center;
}

.flex-align-start {
    align-items: flex-start;
}

.flex-align-end {
    align-items: flex-end;
}

.flex-justify-center {
    justify-content: center;
}

.flex-justify-between {
    justify-content: space-between;
}

.flex-justify-around {
    justify-content: space-around;
}

.flex-justify-evenly {
    justify-content: space-evenly;
}

.flex-justify-end {
    justify-content: flex-end;
}

.flex-justify-start {
    justify-content: flex-start;
}

@for $i from 1 through 200 {
    .sizeh#{($i)} {
        height: $i * $_ru;
    }
}

@for $i from 1 through 200 {
    .sizew#{($i)} {
        width: $i * $_ru;
    }
}

.text-over {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220 * $_ru;
}